package com.tiantianyuegou.activity;

import android.os.Bundle;
import android.util.Log;
import android.webkit.WebView;

import com.tiantianyuegou.R;
import com.tiantianyuegou.util.Tools;

/**
 * 产品详情
 */

public class ProductDetailActivity extends BaseActivity {

    WebView wv_news_detail;
    private String brief;

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_product_detail);
        wv_news_detail= (WebView) findViewById(R.id.wv_news_detail);
        Tools.changeSystemBar(this);
        setTitle("产品详情");
        brief = getIntent().getStringExtra("brief");
        Log.e("brief","ProductDetailActivity:"+brief);
        wv_news_detail.getSettings().setUseWideViewPort(true);
        wv_news_detail.loadDataWithBaseURL(null, brief, "text/html", "utf-8", null);
        wv_news_detail.getSettings().setJavaScriptEnabled(true);
    }

    @Override
    public void findViewByIds() {
    }

    @Override
    public void initListener() {
    }

    @Override
    public void initData() {
    }
}
